//
//  DynamicIntersectionView.h
//  Portable Traffic Signal Assistor
//
//  Created by Ding on 8/20/12.
//  Copyright (c) 2012 TTU. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "Signal.h"
#import "MovementImageView.h"
#import "SignalPhase.h"
enum DynamicEnumColor{
    DGREEN=0,
    DYELLOW,
    DRED
    
} ;
@interface DynamicIntersectionView : UIImageView
@property (nonatomic,retain) Signal *signal;
@property (nonatomic,retain)NSMutableArray *ring1ImageList;
@property (nonatomic,retain)NSMutableArray *ring2ImageList;

//- (MovementImageView *) getDirectionImageViewByMovement:(NSString *)movement;
- (id) initWithSignal:(Signal *)signal;
- (void) setPhaseImageColor:(NSString *) phaseID ring:(int)ring color:(int) color;
//- (NSArray *) getMovementImageViewsOfPhase:(SignalPhase *)phase;
@end
